import { Application } from 'egg';
import ApiDecorator from './src/decorator/apiDecorator';

export default (app: Application) => {

  ApiDecorator.BindRoute(app);

  // const { controller, router } = app;
  // DocsUtil.bindRoute(app, Test);
  // app.router.get('/', ctx => {
  //   new HomeController(ctx).index();
  // });
};
